"""
运行项目文件
"""
import os

import pytest

# 创建测试报告目录
reports = os.path.join(os.path.dirname(os.path.abspath(__file__)),'reports')
if not os.path.exists(reports):
    os.mkdir(reports)

if __name__ == '__main__':
    pytest.main(['testcases','-s','-v',f'--alluredir={reports}'])

